package com.zian.domain.query;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
 @ApiModel( "订单查询条件")
public class OrderQuery extends PageQuery {

    @ApiModelProperty( "订单号")
    private String orderNo;

     @ApiModelProperty( "订单状态")
    private Integer orderStatus;

     @ApiModelProperty( "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

     @ApiModelProperty( "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
